<?
if ($this->isnt)
{
    print ($this->isnt);
    die;
}
if ($this->radio == "mail")
    $table_name = "E-mail";
else
    $table_name = "IP";
?>



<table width="100%">
			    <thead>
				    <tr>
					    <th><?=$table_name;?></th>
                        <th width="5%"></th>
					</tr>
				</thead>
				<tbody>
<?
foreach ($this->is_spamer as $myrow):
        $id = $myrow['id'];
        if ($table_name == "IP")
        {
            $content = $ip = long2ip($myrow['ip']);
            $var = "ip";
        }
        if ($table_name == "E-mail")
        {
            $content = $mail = $myrow['mail'];
            $var = "mail";
        }
?>
				    <tr>
					    <td><?=$content;?></td>
						<td>
                            <div id="delete_<?=$var;?>_id_<?=$id;?>">
							<a href="/user/delete<?=$var;?>spamer/id_spamer/<?=$id;?>/<?=$var;?>/<?=$content;?>" id="<?=$id;?>" class="delete_<?=$var;?>_spamer_class"><img src="resources/images/icons/cross.png" alt="Delete" /></a>
						    </div>
                        </td>
					</tr>
<?
endforeach;
?>
				</tbody>
			</table>